<template>
  <div class="sreach">
    <van-search v-model="value" shape="round" :placeholder="title"/>
  </div>
</template>

<script>
export default {
  name: 'SreachView',
  props:["title"],
  data(){
    return {
      value:"",
    }
  },
  
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.sreach{
  background:#efefef;
  border-radius:0.5rem;
  .van-search{
    padding:0;
    margin:0;
    width: 100%;
    height: 100%;
    border-radius:0.5rem;
  }
}
  
</style>
